package leetcode.code0260;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution260 implements IDebug {

	public abstract int[] singleNumber(int[] nums);

	@Override
	public void debug1() {
		String str = "[1,2,1,3,2,5]";
		int[] nums = HelpDebug.str2array3(str);
		String str1 = "[3,5]";
		int[] e = HelpDebug.str2array3(str1);
		int[] r = this.singleNumber(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[-1,0]";
		int[] nums = HelpDebug.str2array3(str);
		String str1 = "[-1,0]";
		int[] e = HelpDebug.str2array3(str1);
		int[] r = this.singleNumber(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String str = "[0,1]";
		int[] nums = HelpDebug.str2array3(str);
		String str1 = "[0,1]";
		int[] e = HelpDebug.str2array3(str1);
		int[] r = this.singleNumber(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
